﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdaptiveDeNet.DifferentialEvolution
{
    public class jDeMember : Member
    {
        private double f;
        private double cr;
        private double[] vector;
        private double fEval;


        public jDeMember(int dim)
        {
            vector = new double[dim];
            fEval = double.NaN;
        }

        public double F
        {
            get { return f; }
            set { f = value; }
        }

        public double CR
        {
            get { return cr; }
            set { cr = value; }
        }

        public double[] VectorJ
        {
            get { return vector; }
            set { vector = value; }
        }


        public double FEvalJ
        {
            get { return fEval; }
            set { fEval = value; }
        }

    }
}
